import 'package:flutter/material.dart';

class FullScreenAdapter extends StatefulWidget {
  FullScreenAdapter({Key key}) : super(key: key);

  @override
  _FullScreenAdapterState createState() => _FullScreenAdapterState();
}

class _FullScreenAdapterState extends State<FullScreenAdapter> {
  @override
  Widget build(BuildContext context) {
    return SafeArea(
      child: Container(
        color: Colors.white,
        child: Column(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: [
            Container(
              color: Colors.lightBlue,
              child: Text("顶部"),
            ),
            Container(
              color: Colors.lightBlue,
              child: Text("底部"),
            ),
          ],
        ),
      ),
    );
  }
}
